// Project name:JavaRedis
// Creator:muhong
// Date time:2022/12/10,9:30 下午
// Name:ChannelOutboundHandler

package org.gmh.channel.handler;

import org.gmh.channel.ChannelHandler;
import org.gmh.channel.ChannelPromise;

public interface ChannelOutboundHandler extends ChannelHandler {

    void write(ChannelHandlerContext ctx, Object msg);

    void close(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception;

    void flush(ChannelHandlerContext ctx) throws Exception;

    void read(ChannelHandlerContext ctx) throws Exception;
}
